﻿using System;
using System.Collections.Generic;

namespace viBook.Models
{
    public class Book
    {
        public int Id { set; get; }
        public string Title { set; get; }
        public int AuthorId { set; get; }
        public string Description { set; get; }
        public int View { set; get; }
        public string CoverUrl { set; get; }
        public DateTime UploadedDate { set; get; }
        public int UploadedBy { set; get; }
        public string Tag { set; get; }
        public int CategoryId { set; get; }

        public virtual IEnumerable<BookComment> Comments { get; set; }

    }
}